import 'package:flutter/material.dart';
import 'package:razer_one/app/main/constants/color_constants.dart';

class AppTheme {
  static final ThemeData norTheme = ThemeData(
      primarySwatch: Colors.blue,
      canvasColor: Colors.white, //所有子控件的颜色
      highlightColor: Colors.transparent,
      splashColor: Colors.transparent,
      appBarTheme: const AppBarTheme(
        color: Color.fromRGBO(22, 120, 255, 1),
        elevation: 0.5, //去掉底部阴影
        iconTheme: IconThemeData(
          // color: Color(0xff191919), //按钮颜色
          color: Colors.white,
        ),
        centerTitle: true,
        // titleSpacing: 0.0,
        titleTextStyle: TextStyle(
          fontWeight: FontWeight.w600,
          fontSize: 20.0,
          color: Colors.white,
        ),
      ));

  // 暗黑模式
  static final ThemeData darkTheme = ThemeData(
    primarySwatch: Colors.grey,
    splashColor: Colors.transparent,
  );
}
